<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>visibility和transition搭配达到延迟显示和淡入淡出效果</title>
    <style>
        tr {
            height: 60px;
        }

        td {
            width: 80px;
        }

        .list {
            position: absolute;
            visibility: hidden;
        }

        td:hover .list {
            visibility: visible;
            transition: visibility 0s .4s;
        }
    </style>
</head>

<body>
    <h3>visibility和transition搭配达到延迟显示和淡入淡出效果</h3>
    <table border="1">
        <thead>
            <th>ID</th>
            <th>栏目</th>
            <th>功能</th>
        </thead>
        <tbody>
            <tr>
                <td>001</td>
                <td>栏目1</td>
                <td>
                    <a href>操作∨</a>
                    <div class="list">
                        <a href="">
                            编辑
                        </a>
                        <a href="">
                            删除
                        </a>
                    </div>
                </td>
            </tr>
            <tr>
                <td>002</td>
                <td>栏目2</td>
                <td>
                    <a href>操作∨</a>
                    <div class="list">
                        <a href="">
                            编辑
                        </a>
                        <a href="">
                            删除
                        </a>
                    </div>
                </td>
            </tr>
            <tr>
                <td>003</td>
                <td>栏目3</td>
                <td>
                    <a href>操作∨</a>
                    <div class="list">
                        <a href="">
                            编辑
                        </a>
                        <a href="">
                            删除
                        </a>
                    </div>
                </td>
            </tr>
        </tbody>
    </table>
</body>

</html>